addOblogs = function (id) {
    var oneClass=$("#oneClass").val();
    var twoClass=$("#twoClass").val();
    if(oneClass==null || oneClass==""){
        alert("请添加模板一级");
        return;
    }
    if(twoClass==null || twoClass==""){
        alert("请添加模板二级");
        return;
    }
    $.ajax({
        type: "POST",
        url: Feng.ctxPath + "/doctorLooked/add_Oblogs",
        data: {
            "oneClass":oneClass,
            "twoClass":twoClass
        },
        dataType: "json",
        success: function (data) {
            alert("添加成功!");
            parent.layer.close(parent.layer.getFrameIndex(window.name));
        }
    });
};